package com.manage.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "tb_user_base")
public class UserBase {
    //声明主键和自增长
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long jobNumber;
    private String name;

    private String namePinyin;
    private String idCardNumber;
    private int gender;
    private String ethnic;
    private String nativePlace;
    private Date dateOfBirth;
    private Date dateOfEntry;

}
